#!/usr/bin/env python
# -*- coding: utf-8 -*-
# time: 2022/7/21 14:10
# file: router.py
# author: 臧成龙
# QQ: 939589097
from ninja import Router
from .users_auth.api import router as users_auth_router
from .user_partner.api import router as user_partner_router
from .shipto.api import router as shipto_router
from .user_template.api import router as user_template_router
from .user_group.api import router as user_group_router
from .product_group.api import router as product_group_router
from .ordertype.api import router as ordertype_router
from .reasoncode.api import router as reasoncode_router
from .numberrange.api import router as numberrange_router
from .users_customer.api import router as users_customer_router

business_router = Router()
business_router.add_router('/', users_auth_router, tags=['用户权限'])
business_router.add_router('/', user_partner_router, tags=['用户伙伴信用表'])
business_router.add_router('/', shipto_router, tags=['通讯簿'])
business_router.add_router('/', user_template_router, tags=['用户模板'])
business_router.add_router('/', user_group_router, tags=['用户组'])
business_router.add_router('/', product_group_router, tags=['产品组'])
business_router.add_router('/', ordertype_router, tags=['订货类型'])
business_router.add_router('/', reasoncode_router, tags=['原因代码'])
business_router.add_router('/', numberrange_router, tags=['编号范围'])
business_router.add_router('/', users_customer_router, tags=['用户客户表'])


# business_router.add_router('/', template_test_router, tags=['测试1'])





